package com.sky.vo;

import com.sky.entity.SeriesBook;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

/**
 * @Description: 系列
 * @Author: Qiuyan
 * @Date: 2025-04-13 11:09
 * @Version： 1.0
 **/

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SeriesVO implements Serializable {
    private Integer id;
    private String seriesName;
    private Long categoryId;
    private String description;
    private Integer status;
    private LocalDateTime updateTime;
    
    //分类名称
    private String categoryName;
    
    //系列包含的书籍
    private List<SeriesBook> seriesBooks = new ArrayList<>();
}
